package spark.ml;

import java.io.Serializable;

/**
 * 作者: LDL
 * 说明:
 * 时间: 2015/6/28 15:50
 */
public class LabeledDocument extends Document implements Serializable {
    private double label;

    public LabeledDocument(long id, String text, double label) {
        super(id, text);
        this.label = label;
    }

    public double getLabel() { return this.label; }
    public void setLabel(double label) { this.label = label; }
}
